package com.qhs.sys.service;

import com.qhs.sys.entity.DictItemInfo;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by Administrator on 2016/11/9 0009.
 */
public interface  DictItemInfoService  {
        @Transactional(isolation = Isolation.DEFAULT, propagation = Propagation.REQUIRED)
        public int deleteByPrimaryKey(Long id);

        @Transactional(isolation = Isolation.DEFAULT, propagation = Propagation.REQUIRED)
        public int insert( DictItemInfo record);

        @Transactional(isolation = Isolation.DEFAULT, propagation = Propagation.REQUIRED)
        public int insertSelective( DictItemInfo record);

        public  DictItemInfo selectByPrimaryKey(Long id);

        @Transactional(isolation = Isolation.DEFAULT, propagation = Propagation.REQUIRED)
        public int updateByPrimaryKeySelective( DictItemInfo record);

        @Transactional(isolation = Isolation.DEFAULT, propagation = Propagation.REQUIRED)
        public int updateByPrimaryKey( DictItemInfo record);

        public List<DictItemInfo> findDictItemInfoList(DictItemInfo  dictItemInfo);
    }
